//
//  BaseController.h
//  callmed
//
//  Created by x x on 2017/9/5.
//  Copyright © 2017年 xx. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface BaseController : UIViewController

@property (nonatomic, weak) UIViewController *preCtl;
@property (nonatomic, assign) BOOL isClosePreController;

/**
 销毁前调用
 */
- (void)releaseData;

#pragma mark - 关闭之前的页面
- (void)closePreController;

/**
 *  页面初始化
 */
- (void)initWithView;

/**
 *  数据初如化
 */
- (void)initWithData;

@end
